<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ taglib tagdir="/WEB-INF/tags" prefix="p" %>

<script type="text/javascript" src="<%=request.getContextPath()%>/js/validators/history.js"></script>

 <div class="f_l margin1" style="width:100%">
    <div style="height:24px;color:red" align="center" id="errorInfo">${failInfo }</div>
   	<div style="height:24px;color:red;font-weight:bold" align="left">新增处理记录</div>
    <s:form id="submitForm" action="history!save" method="post" theme="simple">
   	<table>
   		<tbody>
   			<tr>
   				<td width="10%"><s:text name="处理时间"/>：</td>
   				<td><input readonly="true" id="recordDate" style="width:80px" name="history.recordDate" onclick="return showCalendar('recordDate', 'y-mm-dd');" /><span></span></td>
   			</tr>
   			<tr>
   				<td width="10%"><s:text name="状态"/>：</td>
   				<td>
   				<select name="history.status">
   				      <option value="1">-- 新预订 --</option>
   				      <option value="2">-- 派送中 --</option>
   				      <option value="3">-- 已成交 --</option>
   				      <option value="4">-- 已取消 --</option>
   				    </select> </td>
   			</tr>
   			<tr>
   			    <td><s:text name="内容"/>：</td>
   				<td colspan="3">
   					 <textarea rows="4" cols="50" name="history.content"></textarea>
   				</td>
   			</tr>
   			<tr> 
   				<td colspan="2" align="right">
   				<input type="submit" value="确认" onclick="return doValidate(event);" />
  				</td>
   				<td colspan="2" align="left">
   					<input type="button" value="取消" onclick="javascript:history.back(-1);"/>
   				</td>
   			 </tr>
   		</tbody>
   	</table>
   	<input type="hidden" id="history.callId" name="history.callId" value="${callId}">
   	<input type="hidden" id="callId" name="callId" value="${callId}">
    </s:form>
  </div>
  